package com.pen.interfece.service;

import com.pen.interfece.pojo.PageResult;
import com.pen.interfece.pojo.dto.DormitoryPageQueryDTO;
import com.pen.interfece.pojo.entity.Admin;
import com.pen.interfece.pojo.entity.Dormitory;
import com.pen.interfece.pojo.vo.StudentVO;

import java.util.List;

public interface DormitorySerivice {

    void save(Dormitory dormitory);

    void deleteBatch(List<Long> ids);

    void update(Dormitory dormitory);

    PageResult pageQuery(DormitoryPageQueryDTO dormitoryPageQueryDTO);

    List<StudentVO> selectByDormitoryId(int id);
}
